Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a quick plugin to inspect the render world's entities #171

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Davier
Copy link

@Davier Davier commented Dec 2, 2023

The new plugin is based on WorldInspectorPlugin, except that it show entities of the render world.
These entities are cleared at the end of each frame, what is shown is their final state in the previous frame.

I removed the Resources and Assets sections for now. The WorldInspectorPlugin lists all reflected resources whether they exist or not, so it would need some change to avoid cluttering it with render-only resources (and the other way around).

I had to add a direct dependency on bevy_input to clone the input resource into the render world.

The result is underwhelming for now since no render components are reflected, but it's a good start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant